package com.bckj.fastboot.iot.data.mongo.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * IotBasicData
 *
 * @author wfc
 **/
@Data
@Document("iot_basic_data")
public class IotBasicData {
    @Id
    private Long id;
    private String devCode;
    private Long deptId;
    private Map<String, Object> dataMap;
    private LocalDateTime collectionTime;
    private LocalDateTime createTime;
}
